package net.zjitc.seqstack;

/**
 * Created by Administrator on 2017/3/23.
 */
public class StackDemo {
    public static void main(String[] args) {
        first();
        System.out.println("第一个方法");
    }

    private static void first() {
        second();

        System.out.println("第二个方法");
    }

    private static void second() {
        third();
        System.out.println("第三个方法");

    }

    private static void third() {
        System.out.println("第4个方法");
    }
}
